export default {
  getToken: function (state) {
    return state.token
  },
  getShowSideMenu: function (state) {
    return state.showSideMenu
  },
  getLastLoginInfo: function (state) {
    if (state.loginInfos == null) {
      return null
    }
    let length = state.loginInfos.length
    if (length === 0) {
      return null
    }
    return state.loginInfos[length - 1]
  }
}
